package cn.edu.scau.entity;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

@NoArgsConstructor
@Data
@AllArgsConstructor
@Builder
public class RecoveryTrack implements Serializable {
    /**
     * 康复跟踪
     */
    private static final long serialVersionUID = 2726789934424613303L;

    /**
     *康复跟踪填写日期
     */
    @NotNull
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date recoveryTrackDate;

    /**
     * 康复跟踪编号
     */
    @NotNull
    private Integer recoveryRegisterID;

    /**
     * 康复跟踪客户
     */
    private String customerName;//需要从数据库中读取

    /**
     * 康复跟踪记录
     */
    private String recoveryTrackRecording;

    /**
     * 康复跟踪客户状态
     */
    private String recoveryTrackCustomerStatus;


}